/*
** my.h for libmy in /home/compilation/galaf-lib/includes
** 
** Made by christophe labonnemartinez
** Login   <labonn_c@epitech.net>
** 
** Started on  Sat Aug 11 12:29:14 2012 christophe labonnemartinez
** Last update Sat Aug 11 12:44:02 2012 christophe labonnemartinez
*/

#ifndef MY_
# define MY_

char	**malloc_2d(char **p, int y, int x);
int	my_atoi(char *str);
void	*my_memset(void *src, int c, unsigned int len);
int	my_putchar(char c);
int	my_putnbr_base(int n, char *base);
int	my_putnbr(int n);
int	my_putstr(int where, char *str);
char	*my_revstr(char *str);
char	*my_strcat(char *dest, char *src);
int	my_strcmp(const char *s1, const char *s2);
char	*my_strcpy(char *dest, char *from);
char	*my_strdup(const char *str);
int	my_strlcat(char *dest, char *from, int len);
int	my_strlcpy(char *dest, const char *from, int size);
int	my_strlen(const char *str);
char	*my_strncat(char *dest, char *src, int len);
int	my_strncmp(const char *s1, const char *s2, int n);
char	*my_strncpy(char *dest, char *from, int n);
void	*xmalloc(unsigned int size);
int	xopen(const char *path, int flags, int mode);
int	xread(const int fd, void *buf, int count);
int	xwrite(const int where, char *str, int len);

#endif /* MY_ */
